# coding=UTF-8
list=[1]*8;

for index in range(len(list)):
    list[index]=input("请输入"+bytes(index+1)+"个浮点数");

i=1;    
for index in range(len(list)):
    i*=list[index];
    
print i;    